<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Index|首页</title>
</head>
<body>
    <a th:href="@{/test}">测试RequestMapping</a><br>
    <a th:href="@{/test1}">测试RequestMapping</a>
    <form th:action="@{/test2}">
        <input type="submit" value="测试Method属性">
    </form>
    <br>
    <a th:href="@{/test3(username='root',password=123456)}">测试params属性</a>
</body>
</html>